08. Quiz - Creating Features

To answer the questions below please use the Train_onetag_small.json data set you can access from the classroom. You'll find a workspace in the next section where you can write your code.

Select the question with Id = 1112. How many words does its body contain (check the BodyLength column)?

SOLUTION: 63

Create a new column that concatenates the question title and body. Apply the same functions we used before to compute the number of words in this combined column. What's the value in this new column for Id = 5123?

SOLUTION: 135

Create a vector from the combined Title + Body length column. In the next few questions, you'll try different normalizer/scaler methods on this new column.

Using the Normalizer method what's the normalized value for question Id = 512?

SOLUTION: 1.0

Using the StandardScaler method (scaling both the mean and the standard deviation) what's the normalized value for question Id = 512?

SOLUTION: -0.64

Using the MinMAxScaler method what's the normalized value for question Id = 512?

SOLUTION: 0.0062